Micron Document
`:top
In `F33f`_`[computing`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computing]`_`f, `!`B100`F9d9comp`f`b`! is a `F33f`_`[command`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Command_(computing)]`_`f used on `F33f`_`[DEC`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Digital_Equipment_Corporation]`_`f `F33f`_`[OS/8`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=OS/8]`_`f,`:cite-ref-os8-handb-1-0[`F5bf`_`[1`#cite-note-os8-handb-1]`_`f] `F33f`_`[DOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=DOS]`_`f,`:cite-ref-jamsa1993-2-0[`F5bf`_`[2`#cite-note-jamsa1993-2]`_`f] `F33f`_`[DR`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Digital_Research]`_`f `F33f`_`[FlexOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=FlexOS]`_`f,`:cite-ref-3[`F5bf`_`[3`#cite-note-3]`_`f] `F33f`_`[IBM`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM]`_`f `F33f`_`[OS/2`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=OS/2]`_`f,`:cite-ref-4[`F5bf`_`[4`#cite-note-4]`_`f] `F33f`_`[Microsoft`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microsoft]`_`f `F33f`_`[Windows`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microsoft_Windows]`_`f`:cite-ref-5[`F5bf`_`[5`#cite-note-5]`_`f] and related computer `F33f`_`[operating systems`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Operating_system]`_`f such as `F33f`_`[ReactOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ReactOS]`_`f. It is used to perform comparisons of multiple `F33f`_`[computer files`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Computer_file]`_`f to show the differences between them.`:cite-ref-runningmsdos-6-0[`F5bf`_`[6`#cite-note-runningmsdos-6]`_`f]

>>Contents

• `F0af`_`[History`#history]`_`f
• `F0af`_`[Syntax`#syntax]`_`f
• `F0af`_`[Parameters`#parameters]`_`f
• `F0af`_`[See also`#see-also]`_`f
• `F0af`_`[References`#references]`_`f
• `F0af`_`[Further reading`#further-reading]`_`f
• `F0af`_`[External links`#external-links]`_`f

-─

>>History

In DOS, the `B100`F9d9comp`f`b command first appeared in PC DOS 1.0`:cite-ref-7[`F5bf`_`[7`#cite-note-7]`_`f] and has been included in most versions of `F33f`_`[MS-DOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=MS-DOS]`_`f and `F33f`_`[PC DOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=IBM_PC_DOS]`_`f. A newer command, `B100`F9d9`F33f`_`[fc`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=File_Compare]`_`f`f`b was added in DOS 3.3 which allows for line comparisons in addition to binary comparisons. `F33f`_`[DR DOS 6.0`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=DR_DOS_6.0]`_`f also includes an implementation of the `B100`F9d9comp`f`b command.`:cite-ref-drdos6userguide-8-0[`F5bf`_`[8`#cite-note-drdos6userguide-8]`_`f]

The `F33f`_`[FreeDOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=FreeDOS]`_`f version was developed by Paul Vojta and is licensed under the `F33f`_`[MIT License`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=MIT_License]`_`f.`:cite-ref-9[`F5bf`_`[9`#cite-note-9]`_`f] Ged Murphy developed the `F33f`_`[ReactOS`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ReactOS]`_`f version. It is licensed under the `F33f`_`[GNU GPL 2`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=GNU_GPL_2]`_`f.`:cite-ref-10[`F5bf`_`[10`#cite-note-10]`_`f]

The command is also available in the `F33f`_`[EFI shell`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Unified_Extensible_Firmware_Interface]`_`f.`:cite-ref-efi-shells-and-scripting-11-0[`F5bf`_`[11`#cite-note-efi-shells-and-scripting-11]`_`f]

>>Syntax

The command-`F33f`_`[syntax`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Syntax]`_`f is:`:cite-ref-12[`F5bf`_`[12`#cite-note-12]`_`f]

`B100`F9d9comp [<Data1>] [<Data2>] [/d] [/a] [/l] [/n=<Number>] [/c]`f`b

>>>Parameters

• `!`B100`F9d9<Data1>`f`b`! – Location and name of the first file or set of files
• `!`B100`F9d9<Data2>`f`b`! – Location and name of the second file or set of files
• `!`B100`F9d9/d`f`b`! – Display differences in decimal format (Default is hexadecimal)
• `!`B100`F9d9/a`f`b`! – Display differences as characters
• `!`B100`F9d9/l`f`b`! – Display the number of the line, instead of the byte offset
• `!`B100`F9d9/n=<Number>`f`b`! – Compare only the specified number of lines for each file
• `!`B100`F9d9/c`f`b`! – Perform a non case-sensitive comparison
• `!`B100`F9d9/off[line]`f`b`! – Process files with the offline attribute set
• `!`B100`F9d9/?`f`b`! – Display Help

>>See also

• `F33f`_`[Data comparison`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Data_comparison]`_`f
• `F33f`_`[List of DOS commands`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=List_of_DOS_commands]`_`f
• `F33f`_`[diff`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Diff]`_`f

>>References

`:cite-note-os8-handb-1`!1.`! `F0af`_`[↑`#cite-ref-os8-handb-1-0]`_`f "Concise Command Language" (CCL)."OS/8 Handbook" (PDF). April 1974. Retrieved 28 November 2017.
`:cite-note-jamsa1993-2`!2.`! `F0af`_`[↑`#cite-ref-jamsa1993-2-0]`_`f `:citerefjamsa1993`aJamsa, Kris A. (1993), `*DOS: The Complete Reference`*, `F33f`_`[Osborne McGraw-Hill`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Osborne_McGraw-Hill]`_`f, p. 206, `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0078819040.
`:cite-note-3`!3.`! `F0af`_`[↑`#cite-ref-3]`_`f http://www.bitsavers.org/pdf/digitalResearch/flexos/1073-2003_FlexOS_Users_Guide_V1.3_Nov86.pdf Archived 2019-09-25 at the `F33f`_`[Wayback Machine`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Wayback_Machine]`_`f
`:cite-note-4`!4.`! `F0af`_`[↑`#cite-ref-4]`_`f "OS/2 Commands". `*www.jatomes.com`*. Archived from the original on 2019-04-14. Retrieved 2019-07-20.
`:cite-note-5`!5.`! `F0af`_`[↑`#cite-ref-5]`_`f "Comp".
`:cite-note-runningmsdos-6`!6.`! `F0af`_`[↑`#cite-ref-runningmsdos-6-0]`_`f `:citerefwolverton2003`aWolverton, Van (2003). `*Running MS-DOS Version 6.22 (20th Anniversary Edition), 6th Revised edition`*. `F33f`_`[Microsoft Press`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microsoft_Press]`_`f. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 0-7356-1812-7.
`:cite-note-7`!7.`! `F0af`_`[↑`#cite-ref-7]`_`f http://www.bitsavers.org/pdf/ibm/pc/dos/6172220_DOS_1.0_Jan82.pdf
`:cite-note-drdos6userguide-8`!8.`! `F0af`_`[↑`#cite-ref-drdos6userguide-8-0]`_`f "DR DOS 6.0 User Guide Optimisation and Configuration Tips" (PDF). Archived from the original (PDF) on 2019-09-30. Retrieved 2019-08-13.
`:cite-note-9`!9.`! `F0af`_`[↑`#cite-ref-9]`_`f "FreeDOS 1.2 Updates Package - comp (FreeDOS Base)". Ibiblio.org. 2006-10-21. Retrieved 2022-09-04.
`:cite-note-10`!10.`! `F0af`_`[↑`#cite-ref-10]`_`f "Reactos/Reactos". `*`F33f`_`[GitHub`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=GitHub]`_`f`*. 3 January 2022.
`:cite-note-efi-shells-and-scripting-11`!11.`! `F0af`_`[↑`#cite-ref-efi-shells-and-scripting-11-0]`_`f "EFI Shells and Scripting". `F33f`_`[Intel`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Intel]`_`f. Retrieved 2013-09-25.
`:cite-note-12`!12.`! `F0af`_`[↑`#cite-ref-12]`_`f MS-DOS and Windows command line comp command

>>Further reading

• `:citerefcooper2001`aCooper, Jim (2001). `*Special Edition Using MS-DOS 6.22, Third Edition`*. `F33f`_`[Que Publishing`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Que_Publishing]`_`f. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0789725738.
• `:citerefdyson1995`aDyson, Peter (1995). `*Mastering OS/2 Warp`*. `F33f`_`[Sybex`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Sybex]`_`f. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0782116632.
• `:citerefstanek2008`aStanek, William R. (2008). `*Windows Command-Line Administrator's Pocket Consultant, 2nd Edition`*. `F33f`_`[Microsoft Press`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Microsoft_Press]`_`f. `F33f`_`[ISBN`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=ISBN_(identifier)]`_`f 978-0735622623.

>>External links

Wikibooks has a book on the topic of:

Guide to Windows Commands

• comp | Microsoft Docs

`c`F0af`_`[↑ Back to top`#top]`_`f`a